<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <span id="mySpan"></span>
    <script>
        // function openTime(){
        //     let date=new Date();
        //     let year=date.getFullYear();
        //     let mouth=date.getMonth()+1;
        //     let day=data.getDate();
        //     let hours=date.getHours();
        //     let minutes=date.getMinutes();
        //     let seconds=date.getSeconds();
        //     let mySpan=document.getElementById("mySpan");
        //     mySpan.innerHTML='现在的时间是：${year}年${mouth}月${day}日${hours}时${minutes}分${seconds}秒'

        // }
        // var myInterval=setInterval(openTime,1000);
    
        
        console.log(num);
        let num=100;

    </script>
</body>
</html>